package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeStrategyTbl;
import sanshui.system.trade.db.entity.TradeStrategyTblExample;

public interface TradeStrategyTblMapper {
    long countByExample(TradeStrategyTblExample example);

    int deleteByExample(TradeStrategyTblExample example);

    int deleteByPrimaryKey(Long strategyId);

    int insert(TradeStrategyTbl record);

    int insertSelective(TradeStrategyTbl record);

    List<TradeStrategyTbl> selectByExampleWithRowbounds(TradeStrategyTblExample example, RowBounds rowBounds);

    List<TradeStrategyTbl> selectByExample(TradeStrategyTblExample example);

    TradeStrategyTbl selectByPrimaryKey(Long strategyId);

    int updateByExampleSelective(@Param("record") TradeStrategyTbl record, @Param("example") TradeStrategyTblExample example);

    int updateByExample(@Param("record") TradeStrategyTbl record, @Param("example") TradeStrategyTblExample example);

    int updateByPrimaryKeySelective(TradeStrategyTbl record);

    int updateByPrimaryKey(TradeStrategyTbl record);
}